package net.retrievers;

import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface Retriever<E extends Serializable> extends Remote {
	E get(String id, String key) throws RemoteException;
	void set(String id, E obj, String key) throws RemoteException;
	String add(E obj, String key) throws RemoteException;
	void delete(String id, String key) throws RemoteException;
}
